Optimal. Leaf size=166 \[ -\frac {2 x^2 \sqrt {-1+a x} \sqrt {1+a x}}{3 a \cosh ^{-1}(a x)^{3/2}}+\frac {8 x}{3 a^2 \sqrt {\cosh ^{-1}(a x)}}-\frac {4 x^3}{\sqrt {\cosh ^{-1}(a x)}}-\frac {\sqrt {\pi } \text {Erf}\left (\sqrt {\cosh ^{-1}(a x)}\right )}{6 a^3}-\frac {\sqrt {3 \pi } \text {Erf}\left (\sqrt {3} \sqrt {\cosh ^{-1}(a x)}\right )}{2 a^3}+\frac {\sqrt {\pi } \text {Erfi}\left (\sqrt {\cosh ^{-1}(a x)}\right )}{6 a^3}+\frac {\sqrt {3 \pi } \text {Erfi}\left (\sqrt {3} \sqrt {\cosh ^{-1}(a x)}\right )}{2 a^3} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.43, antiderivative size = 166, normalized size of antiderivative = 1.00, number of steps
used = 22, number of rules used = 9, integrand size = 12, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.750, Rules used = {5886, 5951,
5887, 5556, 3389, 2211, 2235, 2236, 5881} \begin {gather*} -\frac {\sqrt {\pi } \text {Erf}\left (\sqrt {\cosh ^{-1}(a x)}\right )}{6 a^3}-\frac {\sqrt {3 \pi } \text {Erf}\left (\sqrt {3} \sqrt {\cosh ^{-1}(a x)}\right )}{2 a^3}+\frac {\sqrt {\pi } \text {Erfi}\left (\sqrt {\cosh ^{-1}(a x)}\right )}{6 a^3}+\frac {\sqrt {3 \pi } \text {Erfi}\left (\sqrt {3} \sqrt {\cosh ^{-1}(a x)}\right )}{2 a^3}+\frac {8 x}{3 a^2 \sqrt {\cosh ^{-1}(a x)}}-\frac {4 x^3}{\sqrt {\cosh ^{-1}(a x)}}-\frac {2 x^2 \sqrt {a x-1} \sqrt {a x+1}}{3 a \cosh ^{-1}(a x)^{3/2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 2211
Rule 2235
Rule 2236
Rule 3389
Rule 5556
Rule 5881
Rule 5886
Rule 5887
Rule 5951
Rubi steps
\begin {align*} \int \frac {x^2}{\cosh ^{-1}(a x)^{5/2}} \, dx &=-\frac {2 x^2 \sqrt {-1+a x} \sqrt {1+a x}}{3 a \cosh ^{-1}(a x)^{3/2}}-\frac {4 \int \frac {x}{\sqrt {-1+a x} \sqrt {1+a x} \cosh ^{-1}(a x)^{3/2}} \, dx}{3 a}+(2 a) \int \frac {x^3}{\sqrt {-1+a x} \sqrt {1+a x} \cosh ^{-1}(a x)^{3/2}} \, dx\\ &=-\frac {2 x^2 \sqrt {-1+a x} \sqrt {1+a x}}{3 a \cosh ^{-1}(a x)^{3/2}}+\frac {8 x}{3 a^2 \sqrt {\cosh ^{-1}(a x)}}-\frac {4 x^3}{\sqrt {\cosh ^{-1}(a x)}}+12 \int \frac {x^2}{\sqrt {\cosh ^{-1}(a x)}} \, dx-\frac {8 \int \frac {1}{\sqrt {\cosh ^{-1}(a x)}} \, dx}{3 a^2}\\ &=-\frac {2 x^2 \sqrt {-1+a x} \sqrt {1+a x}}{3 a \cosh ^{-1}(a x)^{3/2}}+\frac {8 x}{3 a^2 \sqrt {\cosh ^{-1}(a x)}}-\frac {4 x^3}{\sqrt {\cosh ^{-1}(a x)}}-\frac {8 \text {Subst}\left (\int \frac {\sinh (x)}{\sqrt {x}} \, dx,x,\cosh ^{-1}(a x)\right )}{3 a^3}+\frac {12 \text {Subst}\left (\int \frac {\cosh ^2(x) \sinh (x)}{\sqrt {x}} \, dx,x,\cosh ^{-1}(a x)\right )}{a^3}\\ &=-\frac {2 x^2 \sqrt {-1+a x} \sqrt {1+a x}}{3 a \cosh ^{-1}(a x)^{3/2}}+\frac {8 x}{3 a^2 \sqrt {\cosh ^{-1}(a x)}}-\frac {4 x^3}{\sqrt {\cosh ^{-1}(a x)}}+\frac {4 \text {Subst}\left (\int \frac {e^{-x}}{\sqrt {x}} \, dx,x,\cosh ^{-1}(a x)\right )}{3 a^3}-\frac {4 \text {Subst}\left (\int \frac {e^x}{\sqrt {x}} \, dx,x,\cosh ^{-1}(a x)\right )}{3 a^3}+\frac {12 \text {Subst}\left (\int \left (\frac {\sinh (x)}{4 \sqrt {x}}+\frac {\sinh (3 x)}{4 \sqrt {x}}\right ) \, dx,x,\cosh ^{-1}(a x)\right )}{a^3}\\ &=-\frac {2 x^2 \sqrt {-1+a x} \sqrt {1+a x}}{3 a \cosh ^{-1}(a x)^{3/2}}+\frac {8 x}{3 a^2 \sqrt {\cosh ^{-1}(a x)}}-\frac {4 x^3}{\sqrt {\cosh ^{-1}(a x)}}+\frac {8 \text {Subst}\left (\int e^{-x^2} \, dx,x,\sqrt {\cosh ^{-1}(a x)}\right )}{3 a^3}-\frac {8 \text {Subst}\left (\int e^{x^2} \, dx,x,\sqrt {\cosh ^{-1}(a x)}\right )}{3 a^3}+\frac {3 \text {Subst}\left (\int \frac {\sinh (x)}{\sqrt {x}} \, dx,x,\cosh ^{-1}(a x)\right )}{a^3}+\frac {3 \text {Subst}\left (\int \frac {\sinh (3 x)}{\sqrt {x}} \, dx,x,\cosh ^{-1}(a x)\right )}{a^3}\\ &=-\frac {2 x^2 \sqrt {-1+a x} \sqrt {1+a x}}{3 a \cosh ^{-1}(a x)^{3/2}}+\frac {8 x}{3 a^2 \sqrt {\cosh ^{-1}(a x)}}-\frac {4 x^3}{\sqrt {\cosh ^{-1}(a x)}}+\frac {4 \sqrt {\pi } \text {erf}\left (\sqrt {\cosh ^{-1}(a x)}\right )}{3 a^3}-\frac {4 \sqrt {\pi } \text {erfi}\left (\sqrt {\cosh ^{-1}(a x)}\right )}{3 a^3}-\frac {3 \text {Subst}\left (\int \frac {e^{-3 x}}{\sqrt {x}} \, dx,x,\cosh ^{-1}(a x)\right )}{2 a^3}-\frac {3 \text {Subst}\left (\int \frac {e^{-x}}{\sqrt {x}} \, dx,x,\cosh ^{-1}(a x)\right )}{2 a^3}+\frac {3 \text {Subst}\left (\int \frac {e^x}{\sqrt {x}} \, dx,x,\cosh ^{-1}(a x)\right )}{2 a^3}+\frac {3 \text {Subst}\left (\int \frac {e^{3 x}}{\sqrt {x}} \, dx,x,\cosh ^{-1}(a x)\right )}{2 a^3}\\ &=-\frac {2 x^2 \sqrt {-1+a x} \sqrt {1+a x}}{3 a \cosh ^{-1}(a x)^{3/2}}+\frac {8 x}{3 a^2 \sqrt {\cosh ^{-1}(a x)}}-\frac {4 x^3}{\sqrt {\cosh ^{-1}(a x)}}+\frac {4 \sqrt {\pi } \text {erf}\left (\sqrt {\cosh ^{-1}(a x)}\right )}{3 a^3}-\frac {4 \sqrt {\pi } \text {erfi}\left (\sqrt {\cosh ^{-1}(a x)}\right )}{3 a^3}-\frac {3 \text {Subst}\left (\int e^{-3 x^2} \, dx,x,\sqrt {\cosh ^{-1}(a x)}\right )}{a^3}-\frac {3 \text {Subst}\left (\int e^{-x^2} \, dx,x,\sqrt {\cosh ^{-1}(a x)}\right )}{a^3}+\frac {3 \text {Subst}\left (\int e^{x^2} \, dx,x,\sqrt {\cosh ^{-1}(a x)}\right )}{a^3}+\frac {3 \text {Subst}\left (\int e^{3 x^2} \, dx,x,\sqrt {\cosh ^{-1}(a x)}\right )}{a^3}\\ &=-\frac {2 x^2 \sqrt {-1+a x} \sqrt {1+a x}}{3 a \cosh ^{-1}(a x)^{3/2}}+\frac {8 x}{3 a^2 \sqrt {\cosh ^{-1}(a x)}}-\frac {4 x^3}{\sqrt {\cosh ^{-1}(a x)}}-\frac {\sqrt {\pi } \text {erf}\left (\sqrt {\cosh ^{-1}(a x)}\right )}{6 a^3}-\frac {\sqrt {3 \pi } \text {erf}\left (\sqrt {3} \sqrt {\cosh ^{-1}(a x)}\right )}{2 a^3}+\frac {\sqrt {\pi } \text {erfi}\left (\sqrt {\cosh ^{-1}(a x)}\right )}{6 a^3}+\frac {\sqrt {3 \pi } \text {erfi}\left (\sqrt {3} \sqrt {\cosh ^{-1}(a x)}\right )}{2 a^3}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.50, size = 194, normalized size = 1.17 \begin {gather*} \frac {-\sqrt {\frac {-1+a x}{1+a x}} (1+a x)-3 e^{-3 \cosh ^{-1}(a x)} \cosh ^{-1}(a x)-e^{-\cosh ^{-1}(a x)} \cosh ^{-1}(a x)-e^{\cosh ^{-1}(a x)} \cosh ^{-1}(a x)-3 e^{3 \cosh ^{-1}(a x)} \cosh ^{-1}(a x)-3 \sqrt {3} \left (-\cosh ^{-1}(a x)\right )^{3/2} \Gamma \left (\frac {1}{2},-3 \cosh ^{-1}(a x)\right )-\left (-\cosh ^{-1}(a x)\right )^{3/2} \Gamma \left (\frac {1}{2},-\cosh ^{-1}(a x)\right )+\cosh ^{-1}(a x)^{3/2} \Gamma \left (\frac {1}{2},\cosh ^{-1}(a x)\right )+3 \sqrt {3} \cosh ^{-1}(a x)^{3/2} \Gamma \left (\frac {1}{2},3 \cosh ^{-1}(a x)\right )-\sinh \left (3 \cosh ^{-1}(a x)\right )}{6 a^3 \cosh ^{-1}(a x)^{3/2}} \end {gather*}
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
Maple [F]
time = 4.02, size = 0, normalized size = 0.00 \[\int \frac {x^{2}}{\mathrm {arccosh}\left (a x \right )^{\frac {5}{2}}}\, dx\]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: TypeError} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {x^{2}}{\operatorname {acosh}^{\frac {5}{2}}{\left (a x \right )}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \frac {x^2}{{\mathrm {acosh}\left (a\,x\right )}^{5/2}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________